/**
* File name: federation.h
* Author: Tran Van Hoang
* Date: 24-04-2015
**/

#ifndef FEDERARION_H
#define FEDERATON_H

#include "cellNetwork.h"

#define FEDERATION_NAME "Cyber Federation"
#define FEDERATION_FILE_NAME "cyber.fed"
#define WINDOW_FEDERATE_NAME "windowFederate"
#define RIVER_FEDERATE_NAME "riverFederate"
#define FOREST_FEDERATE_NAME "forestFederate"
#define NETWORK_FEDERATE_NAME "networkFederate"

#define RIVER_FEDERATE_DIR "../RiverFed"
#define FOREST_FEDERATE_DIR "../ForestFed"
#define NETWORK_FEDERATE_DIR "../NetworkFed"
#define WINDOW_FEDERATE_DIR "../WindowFed"

#define RIVER_DATA_FILE_NAME "dataRiver.cu"
#define FOREST_DATA_FILE_NAME "dataForest.cu"
#define NETWORK_DATA_FILE_NAME "dataNetwork.cu"

#define FEDERATION_CYCLE 10

/*********************************COMMUNICATION*****************************************************/
#define THRESHOLD_FOREST_RIVER 4

extern float convertingASHToDensity(float distance);

#endif
